// 预收、付抵扣列表
const {DataTypes, db } = require("../db");
db.define('invoiceDikou', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:''}, 
iid:{type: DataTypes.INTEGER,allowNull:false,comment:'购货单或者销售单ID'}, 
relId:{type: DataTypes.INTEGER,allowNull:false,comment:'预收付表ID,也是invoice表id'}, 
hxAmount:{type: DataTypes.FLOAT,allowNull:false,comment:'核销金额'}, 

}, {
    tableName: 'invoice_dikou',
    timestamps: false,
    comment: '预收、付抵扣列表',
    
});